package com.huiyeji.dynamic.core;

public class MethodRequest {

    private String dynamicObjectName;

    private String name;

    private Class<?>[] parameterTypes;

    public MethodRequest(String dynamicObjectName,String name, Class<?>[] parameterTypes) {
        this.dynamicObjectName = dynamicObjectName;
        this.name = name;
        this.parameterTypes = parameterTypes;
    }

    public MethodRequest(String name, Class<?>[] parameterTypes) {
        this(null, name, parameterTypes);
    }

    public String getDynamicObjectName() {
        return dynamicObjectName;
    }

    public void setDynamicObjectName(String dynamicObjectName) {
        this.dynamicObjectName = dynamicObjectName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Class<?>[] getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(Class<?>[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }
}
